package com.xinpu.service.impl;

import com.xinpu.mapper.DeptMapper;
import com.xinpu.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;

    @Override
    public Integer count() {
        return deptMapper.count();
    }
}
